home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3sphmap.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  2.9 KB  |  119 lines

  1.  
  2. // JavaScript wrapper for r3sphmap.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_SPHEREMAPPING_H = 1;
  7. include("real/objects/r3map.js")
  8.  
  9.  
  10. var R3CLID_SPHEREMAPPING = 530;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3SPHMAPA_Center = 530500;
  19. function SetR3SPHMAPA_Center(value) {
  20.   R3Set(this.r3obj, R3SPHMAPA_Center, value, R3TID_VECTOR, 0); 
  21. }
  22.  
  23. function GetR3SPHMAPA_Center() {
  24.   return R3Get(this.r3obj, R3SPHMAPA_Center, R3TID_VECTOR, 0); 
  25. }
  26.  
  27. R3SPHMAPA_A = 530501;
  28. function SetR3SPHMAPA_A(value) {
  29.   R3Set(this.r3obj, R3SPHMAPA_A, value, R3TID_VECTOR, 0); 
  30. }
  31.  
  32. function GetR3SPHMAPA_A() {
  33.   return R3Get(this.r3obj, R3SPHMAPA_A, R3TID_VECTOR, 0); 
  34. }
  35.  
  36. R3SPHMAPA_B = 530502;
  37. function SetR3SPHMAPA_B(value) {
  38.   R3Set(this.r3obj, R3SPHMAPA_B, value, R3TID_VECTOR, 0); 
  39. }
  40.  
  41. function GetR3SPHMAPA_B() {
  42.   return R3Get(this.r3obj, R3SPHMAPA_B, R3TID_VECTOR, 0); 
  43. }
  44.  
  45. R3SPHMAPA_C = 530503;
  46. function SetR3SPHMAPA_C(value) {
  47.   R3Set(this.r3obj, R3SPHMAPA_C, value, R3TID_VECTOR, 0); 
  48. }
  49.  
  50. function GetR3SPHMAPA_C() {
  51.   return R3Get(this.r3obj, R3SPHMAPA_C, R3TID_VECTOR, 0); 
  52. }
  53.  
  54. R3SPHMAPA_EnvironmentMap = 530504;
  55. function SetR3SPHMAPA_EnvironmentMap(value) {
  56.   R3Set(this.r3obj, R3SPHMAPA_EnvironmentMap, value, R3TID_INTEGER, 0); 
  57. }
  58.  
  59. function GetR3SPHMAPA_EnvironmentMap() {
  60.   return R3Get(this.r3obj, R3SPHMAPA_EnvironmentMap, R3TID_INTEGER, 0); 
  61. }
  62.  
  63. R3SPHMAPA_LengthA = 530505;
  64. function SetR3SPHMAPA_LengthA(value) {
  65.   R3Set(this.r3obj, R3SPHMAPA_LengthA, value, R3TID_FLOAT, 0); 
  66. }
  67.  
  68. function GetR3SPHMAPA_LengthA() {
  69.   return R3Get(this.r3obj, R3SPHMAPA_LengthA, R3TID_FLOAT, 0); 
  70. }
  71.  
  72. R3SPHMAPA_LengthB = 530506;
  73. function SetR3SPHMAPA_LengthB(value) {
  74.   R3Set(this.r3obj, R3SPHMAPA_LengthB, value, R3TID_FLOAT, 0); 
  75. }
  76.  
  77. function GetR3SPHMAPA_LengthB() {
  78.   return R3Get(this.r3obj, R3SPHMAPA_LengthB, R3TID_FLOAT, 0); 
  79. }
  80.  
  81. R3SPHMAPA_LengthC = 530507;
  82. function SetR3SPHMAPA_LengthC(value) {
  83.   R3Set(this.r3obj, R3SPHMAPA_LengthC, value, R3TID_FLOAT, 0); 
  84. }
  85.  
  86. function GetR3SPHMAPA_LengthC() {
  87.   return R3Get(this.r3obj, R3SPHMAPA_LengthC, R3TID_FLOAT, 0); 
  88. }
  89.  
  90.  
  91.  
  92. function r3Spheremapping () { 
  93.    this.base = r3God;
  94.    if(arguments.length) {
  95.       this.base(R3CLID_SPHEREMAPPING, arguments);
  96.    }
  97.    // Methods
  98.  
  99.    // Attributes
  100.    this.GetCenter=GetR3SPHMAPA_Center;
  101.    this.SetCenter=SetR3SPHMAPA_Center;
  102.    this.GetA=GetR3SPHMAPA_A;
  103.    this.SetA=SetR3SPHMAPA_A;
  104.    this.GetB=GetR3SPHMAPA_B;
  105.    this.SetB=SetR3SPHMAPA_B;
  106.    this.GetC=GetR3SPHMAPA_C;
  107.    this.SetC=SetR3SPHMAPA_C;
  108.    this.GetEnvironmentMap=GetR3SPHMAPA_EnvironmentMap;
  109.    this.SetEnvironmentMap=SetR3SPHMAPA_EnvironmentMap;
  110.    this.GetLengthA=GetR3SPHMAPA_LengthA;
  111.    this.SetLengthA=SetR3SPHMAPA_LengthA;
  112.    this.GetLengthB=GetR3SPHMAPA_LengthB;
  113.    this.SetLengthB=SetR3SPHMAPA_LengthB;
  114.    this.GetLengthC=GetR3SPHMAPA_LengthC;
  115.    this.SetLengthC=SetR3SPHMAPA_LengthC;
  116. }
  117.  
  118. r3Spheremapping.prototype=new r3Mapping;
  119. // r3sphmap.h_H